package com.gaoda.booksystem.entity;

import java.util.Date;

/**
 * @author: LuckyBear
 * @date: 2018-12-10 21:09
 * @description:
 */
public class Revert {
    private int id; //主键id
    private Date revertTime;    //还书时间
    private String userNumber;  //还书人编号（用户编号）
    private String bookNumber;  //图书编号

    public Revert() {
    }

    public Revert(Date revertTime, String userNumber, String bookNumber) {
        this.revertTime = revertTime;
        this.userNumber = userNumber;
        this.bookNumber = bookNumber;
    }

    public Revert(int id, Date revertTime, String userNumber, String bookNumber) {
        this.id = id;
        this.revertTime = revertTime;
        this.userNumber = userNumber;
        this.bookNumber = bookNumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getRevertTime() {
        return revertTime;
    }

    public void setRevertTime(Date revertTime) {
        this.revertTime = revertTime;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getBookNumber() {
        return bookNumber;
    }

    public void setBookNumber(String bookNumber) {
        this.bookNumber = bookNumber;
    }

    @Override
    public String toString() {
        return "Revert{" +
                "id=" + id +
                ", revertTime=" + revertTime +
                ", userNumber='" + userNumber + '\'' +
                ", bookNumber='" + bookNumber + '\'' +
                '}';
    }
}
